<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=320,initial-scale=1,maximum-scale=1" />
<title>友邦保险</title>
<link href="main.css"  type="text/css"  rel="stylesheet" />
<script language="javascript" src="js/jquery.js"></script>
<script language="javascript" src="js/pcasunzip.js"></script>
<script language="javascript">
function ajaxSubmit()
{
	var new_sheng = $("select[name='new_sheng']");
	var new_shi = $("select[name='new_shi']");
	var new_qu = $("select[name='new_qu']");
	var pho = $("input[name='pho']");
	var name = $("input[name='name']");
	var code = $("input[name='code']");
	var sex = $("select[name='sex']");
	var age = $("select[name='age']");
	var new_intr = $("select[name='new_intr']");
	if(name.val() == '')  
	{
		alert('请输入姓名');
		name[0].focus();
		return false;
	}
	else if(sex.val() == '')  
	{
		alert('请选择性别');
		sex[0].focus();
		return false;
	}
	else if(age.val() == '')  
	{
		alert('请选择年龄');
		age[0].focus();
		return false;
	}
	else if(pho.val() == '')  
	{
		alert('请输入手机号码');
		pho[0].focus();
		return false;
	}
	else if(new_sheng.val() == "请选择" || new_sheng.val() == "" ) 
	{  
		alert('请选择省');
		new_sheng[0].focus();
		return false;
	}
	else if(new_shi.val() == "请选择"  || new_shi.val() == "") 
	{  
		alert('请选择市');
		new_shi[0].focus();
		return false;
	}else if(new_qu.val() == "请选择"  || new_qu.val() == "") 
	{  
		alert('请选择区');
		new_qu[0].focus();
		return false;
	}
	else if(code.val() == '')  
	{
		alert('请输入营销员编号');
		code[0].focus();
		return false;
	}
	
	var address = new_sheng.val()+'-'+new_shi.val()+'-'+new_qu.val();
	$("input[name='address']").val(address);
	
	try{
		window._CiQ45841 = window._CiQ45841 || [];
		window._CiQ45841.push(['_trackEvent', {
		    type: 2,
		    labels: [
		        {'姓名':name.val()}   
		    ],
		    values: [
		        { '数量' : 1}
		    ]
		}]);
		window.CClicki && window.CClicki._flushObserver && window.CClicki._flushObserver(function(){});
	}catch(err){}
	
	//发送ajax请求
	$.ajax
	({
		type:"POST",
		dataType:'json',
		cache:false,
		timeout:10000,
		async:false,
		url:"../nmp/nmp.action?t="+(new Date().getTime()),
		data:$("#formid").serialize(),
		success:function(json)
		   {
			  if(json.success==true)
			  {		
				  //alert("提交成功！")
				  setTimeout(function(){ window.location.href="ok.action"; }, 300);
			  }
			  else
			  {
				  alert("提交没有成功:"+json.message);
			  }
			},
		error:function(arg1,arg2)
		   {
				alert("浏览器提交失败:" + arg1 + " "+arg2);
		   }
	});
	return false;
}
</script>
<script type="text/javascript">
(function() {
    var c = document.createElement("script");
    c.type = "text/javascript";
    c.async = true;
    c.src = ("https:" == document.location.protocol ? "https://" : "http://") + "sitemonitor.cn.miaozhen.com/boot/45841";
    var h = document.getElementsByTagName("script")[0];
    h.parentNode.insertBefore(c, h);
})();
</script>
</head>
<body>
<div class="bigdiv">
	<div>
		<img style="border-width: 0; width:322px;" src="images/main.gif"></img>
	</div>
	
	<div style="font-size: 0; border-top:3px solid #d31145; ">
	</div>
	
	<div class="intr" style="">
		<p class="bold" >实现梦想，不必和真我说再见</p>
		<p class="bold" >在友邦，活出真自我</p>
		<p class="video_link" >
		精彩视频点点看:
		    &nbsp;&nbsp; 
			<a href="http://v.qq.com/boke/page/y/x/w/y0130c7qexw.html" target="_blank">男生梦想派</a>
			&nbsp;&nbsp;
			<a href="http://v.qq.com/boke/page/g/4/x/g0130o0bq4x.html" target="_blank">女生梦想派</a>
		</p>
		
		<p class="bold margintop10" >我们为您提供——</p>
		<p class="hasIcon"><img class="icon" src="images/icon.jpg" ></img>系统培训支持</p>
		<p class="hasIcon"><img class="icon" src="images/icon.jpg" ></img>专业人才培育</p>
		<p class="hasIcon"><img class="icon" src="images/icon.jpg" ></img>高额特别奖金</p>
		<p class="hasIcon"><img class="icon" src="images/icon.jpg" ></img>丰厚财务支持</p>
		<p class="hasIcon">备注：本次招募是代理制保险营销员</p>
	</div>
	
	<form id="formid" action="" method="post"  name="form1" class="my_form" onsubmit="return false;" style="position: relative; display: block;">
		<input type="hidden" name="address"></input>
		<input type="hidden" name="from" value="recruitment"></input>
		<input type="hidden" name="validate" value="9999"></input>
    	<p><span class="redstar">*</span>姓名 :　 <input style="width:185px;" type="text" name="name"  placeholder="请输入姓名"   /></p>
        
     	<p><span class="redstar">*</span>性别 :　 <select name="sex" style="width:190px" ><option value="">请选择</option><option value="M">男</option><option value="F">女</option></select></p>
        
     	<p><span class="redstar">*</span>年龄 :　 <select name="age" style="width:190px" >
<option value="" >请选择</option>
<option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> <option value="32">32</option> <option value="33">33</option> <option value="34">34</option> <option value="35">35</option> <option value="36">36</option> <option value="37">37</option> <option value="38">38</option> <option value="39">39</option> <option value="40">40</option> <option value="41">41</option> <option value="42">42</option> <option value="43">43</option> <option value="44">44</option> <option value="45">45</option> <option value="46">46</option> <option value="47">47</option> <option value="48">48</option> <option value="49">49</option> <option value="50">50</option>
</select></p>
     	
        <p><span class="redstar">*</span>所在地 :
        <select id='c1' name='new_sheng' style="width:60px;"></select>省&nbsp;
        <select id='c2'  name='new_shi' style="width:60px;"></select>市&nbsp;
        <select id='c3'  name='new_qu' style="width:60px;"></select>区
        </p>
     	<p><span class="redstar">&nbsp;</span>电子邮件 :　 <input type="text" name="email" style="width:160px" placeholder="请输入电子邮件"  /></p>
     	<p><span class="redstar">*</span>手机号码 :　 <input type="text" name="pho" style="width:160px" placeholder="请输入手机号码"  /></p>
     	<p><span class="redstar">&nbsp;</span>介绍人 :　 <input type="text" name="new_intr" style="width:160px" placeholder="请输入介绍人"  /></p>
     	<p style="padding-left:10px; padding-right:30px; color:#424242; font-size: 11px;">请输入介绍人姓名<br />
        	<span style="color:#d31145;" >如无介绍人，请填“无”</span>
        </p>
        <p><span class="redstar">*</span>营销员编号: <input type="" name="code" style="width:160px" placeholder="请输入营销员编号"  /></p>
        <p style="padding-left:10px; padding-right:10px; color:#424242; font-size: 11px;">请输入邀请码，即9位保险营销员编号，输入不足9位时在前端加 0<br /> 
        	<span style="color:#d31145;" >如无推荐营销员，请填9个0</span>
        </p>
       
        <p class="notes">注意：如下拉框显示有误,请关闭UC浏览器的极速模式</p>
        <p></p>
        <p><img src="weixin.png" alt="" /></p>
        <p style="font-size:16px;">更多资讯请关注<span style="color:#d31145;" >官方微信“友邦保险”</span></p>
  </form>
  <div class="footer">
  	<a href="#" onclick="ajaxSubmit(); return false;" style="display: block; position: absolute; width:119px; height:44px; left:100px; top:10px; background-image: url(images/ok.jpg); background-repeat: no-repeat;"></a>
  </div>
</div>
<script language='javascript'>
new PCAS("new_sheng","new_shi","new_qu");
</script>
</body>
</html>